package cn.wsalix.observable.service;

import org.apache.shiro.authc.UsernamePasswordToken;

import cn.wsalix.admin.entity.SysUser;
import cn.wsalix.admin.form.UserForm;
import cn.wsalix.shiro.token.ThirdToken;
import cn.wsalix.user.entity.UserCenter;
import cn.wsalix.user.entity.UserInfo;

public interface LoginService {
	//public UsernamePasswordToken login(UserForm entity);
	
	public void setUser(SysUser user);
	
	public SysUser getUser();

	public UserInfo getUserInfo();

	public void setUserInfo(UserInfo userInfo);

	public UserCenter getUserCenter();

	public void setUserCenter(UserCenter userCenter);

	public SysUser login(ThirdToken upToken);
}
